PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class / rectangle Method
X coordinate of the rectangle's bottom left corner.
Y coordinate of the rectangle's bottom left corner.
The rectangle width.
The rectangle height.
In This Topic
    rectangle Method
    In This Topic
    Appends a rectangle to current path. Operator: re
    Syntax
    public void rectangle( 
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    x
    X coordinate of the rectangle's bottom left corner.
    y
    Y coordinate of the rectangle's bottom left corner.
    width
    The rectangle width.
    height
    The rectangle height.
    See Also